::ng-deep {
  .rstpopover {
    .ant-popover-inner-content {
      padding: 0px;
    }
  }
}

.rstblock,
.rstblock-logo {
  float: left;
  font-size: 12px;
  position: relative
}

.rstblock {
  background-color: #fff;
  border-bottom: 1px #f5f5f5 solid;
  width: 33.33333%;
  height: 140px;

  @media screen and (max-width: 992px) {
    width: 50%;
  }

  @media screen and (max-width: 641px) {
    width: 100%;
  }
}

.rstblock:hover {
  background-color: #f5f5f5
}

.rstblock:hover .rstblock-title {
  color: #0089dc
}

@media (min-width: 1260px) {
  .rstblock {
    width: 25%
  }
}

.rstblock.noline {
  border: none;
  margin: 0
}

.rstblock-logo {
  padding: 20px;
  color: #999;
  text-align: center
}

.rstblock-logo-icon {
  display: block;
  width: 140px;
  height: 84px;
  // margin-bottom: 10px;
  // box-shadow: 2px 2px 3px #dedede;
  // border: 1px solid #d2d2d2;

  @media screen and (max-width: 992px) {
    width: 100px;
    height: 60px;
  }

  @media screen and (max-width: 641px) {
    width: 100px;
    height: 60px;
  }
}

.rstblock-logo-premiumsign {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0px;
  right: 0px;
  z-index: 1
}

.rstblock-left-timeout {
  color: #c00
}

.rstblock-content {
  padding: 20px
}

.rstblock-title {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #333
}

.rstblock-monthsales {
  color: #999;
  margin-left: 10px
}

.rstblock-cost {
  color: #999;
  margin-top: 3px
}

.rstblock-phone,
.rstblock-relaxing,
.rstblock-schedule {
  display: inline-block;
  line-height: 20px;
  margin-top: 8px;
  padding: 0 6px;
  border-radius: 3px
}

.rstblock-relaxing {
  color: #fff;
  background: #666
}

.rstblock-schedule {
  background-color: #fff;
  color: #14ae18;
  border: 1px solid #14ae18;
  line-height: 18px
}

.rstblock-phone {
  background-color: #f4f4f4;
  border: 1px solid #ddd;
  color: #666;
  line-height: 18px
}

.rstblock-activity {
  margin-top: 9px
}

.rstblock-activity i {
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
  overflow: hidden;
  text-align: center;
  width: 18px;
  border-radius: 2px;
  margin-right: 3px;
  padding: 1px;
  background-color: #f63;
  white-space: nowrap
}

.rstblock-closed .rstblock-cost,
.rstblock-closed .rstblock-logo,
.rstblock-closed .rstblock-monthsales,
.rstblock-closed .rstblock-starrating,
.rstblock-closed .rstblock-title {
  opacity: .5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"
}


.rstpopover {
  //   position: absolute;
  width: 316px;
  color: #999;
  background-color: #fff;

  padding: 16px 14px;
  z-index: 4
}

.rstpopover .rstpopover-arrow {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid #ddd;
  background: #fff;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg)
}

.rstpopover.placeright .rstpopover-arrow {
  border-top: 0;
  border-right: 0;
  background: #fff;
  left: -7px;
  left: -8px\9;
  top: 15px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg)
}

.rstpopover.placeleft .rstpopover-arrow {
  border-bottom: 0;
  border-left: 0;
  right: -7px;
  right: -5px\9;
  top: 15px
}

.rstpopover.alignbottom .rstpopover-arrow {
  top: auto;
  bottom: 20px
}


:root .rstpopover.placeright .rstpopover-arrow {
  left: -7px\9
}

:root .rstpopover.placeleft .rstpopover-arrow {
  right: -7px\9
}

.rstpopover-title {
  margin-bottom: 8px;
  color: #333;
  font-size: 16px;
  font-weight: 700
}

.rstpopover-flavors {
  font-size: 12px;
  color: #999;
  position: relative;
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 10px
}

.rstpopover-flavors span {
  margin-right: 4px
}

.rstpopover-activities {
  padding: 0;
  margin: 0;
  list-style: none;
  min-height: 15px
}

.rstpopover-activities li {
  margin: 10px 0;
  font-size: 12px;
  color: #666;
  padding-left: 20px
}

.rstpopover-activities li i {
  display: inline-block;
  padding: 1px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  line-height: 16px;
  text-align: center;
  width: 18px;
  border-radius: 2px;
  background-color: #f63;
  margin-left: -20px;
  margin-right: 5px;
  word-wrap: nowrap
}

.rstpopover-activities li span {
  // color: #f74342
}

.rstpopover-delivery {
  display: table;
  width: 100%;
  background-color: #f2f2f2;
  padding: 8px 0;
  line-height: 14px;
  margin-bottom: 5px;
  white-space: nowrap
}

.rstpopover-delivery li {
  display: table-cell;
  width: 50%;
  color: #333;
  font-size: 12px;
  text-align: center;
  margin-right: -1px;
  border-left: 1px solid #ddd
}

.rstpopover-delivery li:first-child {
  border-left: none
}

.rstpopover-delivery li span {
  margin: 0 3px
}

.rstpopover-notice {
  font-size: 12px;
  line-height: 20px;
  color: #666
}

.rstblock .rstpopover {
  position: absolute;
  display: none;
  z-index: 4
}

.img {
  &-thm {
    position: relative;
    display: block;
    max-width: 100%;
    height: auto;
    background-color: transparent;

    &:hover {
      .img-thm__icon {
        opacity: 1;
      }
    }

    &__mask {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 2;
      display: block;
      background-color: rgba(0, 0, 0, 0.3);
      transition: all 0.2s ease-in-out;
    }

    &__icon {
      position: absolute;
      top: 50%;
      left: 50%;
      z-index: 3;
      display: block;
      color: #fff;
      font-size: 32px;
      opacity: 0;
      transition: all 0.2s ease-in-out;
    }

    &__img {
      z-index: 1;
      max-width: 100%;
    }

    &__zoom-in {
      overflow: hidden;

      .img-thm__icon {
        transform: translate(-50%, -50%) scale(0.6);
      }

      .img-thm__img {
        transition: all 0.3s ease-in-out;
      }

      &:hover {
        .img-thm__icon {
          transform: translate(-50%, -50%) scale(1);
        }

        .img-thm__img {
          transform: scale(1.1);
        }
      }
    }

    &:not(:hover):not(:focus) {
      .img-thm__mask {
        opacity: 0;
      }
    }
  }
}



.elemeicon {
  background: url(/midware/assets/img/xuebi.png) no-repeat;
}

.elemeicon-premiumsign {
  background-position: 4px -487px;
}
